package cn.edu.tju.elm.vo;

import java.math.BigDecimal;

/**
 * 商品创建请求类
 */
public class FoodRequest {
    
    private String foodName;
    private BigDecimal foodPrice;
    private Business business;
    
    // 构造函数
    public FoodRequest() {}
    
    // getter和setter
    public String getFoodName() {
        return foodName;
    }
    
    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }
    
    public BigDecimal getFoodPrice() {
        return foodPrice;
    }
    
    public void setFoodPrice(BigDecimal foodPrice) {
        this.foodPrice = foodPrice;
    }
    
    public Business getBusiness() {
        return business;
    }
    
    public void setBusiness(Business business) {
        this.business = business;
    }
    
    // 内部类定义business
    public static class Business {
        private Integer id;
        
        public Business() {}
        
        public Integer getId() {
            return id;
        }
        
        public void setId(Integer id) {
            this.id = id;
        }
    }
}